first version.
[build-srcpkg.git] / testing / 2.test_suite_testing.Testing for testsuite scripttest.unit / 5.scripttest_testid.Testsuite range of test id and save and del.dir / 3.scripttest_param_b.sh
blob8d3ced34f87cbdf578a01bcfd1f307885c825746
1 #!/bin/bash
3 ############################################################
4 # Copyright (C) 2022- Free Software Foundation, Inc.
5 # This configure script is free software; the Free Software
6 # Foundation gives unlimited permission to copy, distribute
7 # and modify it.
9 . shlibinc
10 include stdio.shlib
13 init_dbglogout 2 testing 20000
15 dbgout "$0\n"
17 dbgout_cmd pwd
19 cd scripts
21 dbgout "aaaaaaaaaaaaaaaa\n"
22 scripttest -c
25 # 测试程序的version信息输出
27 dbgout "aaaaaaaaaaaaaaaa\n"
28 scripttest -b 2.1 -s
30 # 测试已设置begin-id时,参数设置是否可用
31 dbgout "aaaaaaaaaaaaaaaa\n"
32 scripttest -b 1.2 -n 2 -r
34 dbgout "aaaaaaaaaaaaaaaa\n"
35 scripttest -b 1.2 -s
37 # 这里用于测试参数设置是否覆盖原有设置值
38 dbgout "aaaaaaaaaaaaaaaa\n"
39 scripttest -b 2.2 -s
41 dbgout "aaaaaaaaaaaaaaaa\n"
42 scripttest -n 2 -r
44 dbgout "aaaaaaaaaaaaaaaa\n"